package com.pxmeta.dynamic.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pxmeta.dynamic.entity.TopicCategory;
import com.pxmeta.dynamic.entity.vo.TopicCategoryVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wcl
 * @since 2022-07-12
 */
public interface ITopicCategoryService extends IService<TopicCategory> {

    /**
     * 获取话题分类列表
     * @param circleId
     * @return
     */
    List<TopicCategory> getCategoryByCircleType(Long circleId);


    /**
     * 获取动态分类列表
     * @param page
     * @param size
     * @param keyword
     * @param type
     * @return
     */
    IPage<TopicCategoryVO> getList(Integer page, Integer size, String keyword, Integer type);
}
